package com.company.工厂模式2;

public class TestPhone{
    public static void main(String[] args) {
        Phone phone1 = new PhoneFactory().createPhone(1);
        Phone phone2 = new PhoneFactory().createPhone(2);

        phone1.info();
        System.out.println("=========");
        phone2.info();
    }
}
